#include "fixedfield.h"
#include "ui_fixedfield.h"

FixedField::FixedField(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::FixedField)
{
    ui->setupUi(this);
}

FixedField::FixedField(QString label, double value, QWidget *parent) :
    QWidget(parent),
    ui(new Ui::FixedField)
{
    ui->setupUi(this);
    ui->label->setText(label);
    ui->value->setValue(value);
}

FixedField::~FixedField()
{
    delete ui;
}
